package com.hongxun.design.bean;

import android.view.View;

/**
 * Created by zerdoor_pc on 2016/6/21.
 */
public class MyListViewItemBean {

    public CharSequence icon;
    public String name;
    public boolean hasNew;
    private View.OnClickListener listener;
    public MyListViewItemBean(CharSequence icon, String name, boolean hasNew,View.OnClickListener listener) {
        this.icon = icon;
        this.name = name;
        this.hasNew = hasNew;
        this.listener = listener;
    }

    public CharSequence getIcon() {
        return icon;
    }

    public void setIcon(CharSequence icon) {
        this.icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isHasNew() {
        return hasNew;
    }

    public void setHasNew(boolean hasNew) {
        this.hasNew = hasNew;
    }

    public View.OnClickListener getListener() {
        return listener;
    }

    public void setListener(View.OnClickListener listener) {
        this.listener = listener;
    }
}
